﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;




namespace PhotoMonkey

{
    static class Program
    {
        internal static HydroBugger.HydroBugger bugger = new HydroBugger.HydroBugger(false, true, true, "PhotoMonkey");
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainGUI());
        }
        internal static void ErrorReport(Exception ex)
        {
            System.Exception sysexc = new Exception("Login attempt failed");
            System.Exception sysexcaccfailed = new Exception("System.Exception: Extended Permission Denied");
            if((ex.GetType() != sysexc.GetType()) &&(ex.GetType()!= sysexcaccfailed.GetType()))
            {
               bugger.TakeTheException2(ex, Application.ProductName, Application.ProductVersion);
            }
        }
    }
}
